package com.example.demo.entity;

import java.util.Date;
import lombok.Data;
import java.io.Serializable;
import io.swagger.annotations.ApiModelProperty;

/**
 * 登录注册登出记录(AuthAccountLog)实体类
 *
 * @author ElonChung
 * @since 2020-05-11 18:35:30
 */
@Data
public class AuthAccountLog implements Serializable {
    private static final long serialVersionUID = -90515834134742063L;
    /**
    * 用户账户操作日志主键
    */    
    @ApiModelProperty( name ="id", value="用户账户操作日志主键")
    private Integer id;
    /**
    * 日志名称(login,register,logout)
    */    
    @ApiModelProperty( name ="logName", value="日志名称(login,register,logout)")
    private String logName;
    /**
    * 用户id
    */    
    @ApiModelProperty( name ="userId", value="用户id")
    private String userId;
    /**
    * 创建时间
    */    
    @ApiModelProperty( name ="createTime", value="创建时间")
    private Date createTime;
    /**
    * 是否执行成功(0失败1成功)
    */    
    @ApiModelProperty( name ="succeed", value="是否执行成功(0失败1成功)")
    private Integer succeed;
    /**
    * 具体消息
    */    
    @ApiModelProperty( name ="message", value="具体消息")
    private String message;
    /**
    * 登录ip
    */    
    @ApiModelProperty( name ="ip", value="登录ip")
    private String ip;
}